package cn.happy.favdish.model.network

import cn.happy.favdish.model.entities.RandomDish
import io.reactivex.rxjava3.core.Single
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

/**
 * Author: created by ghappy on 2024/8/19 10:07
 *
 * Description:
 */
interface RandomDishAPI {

    @POST("worker/workerPageList")
//    http://reactivex.io/documentation/single.html or http://reactivex.io/RxJava/javadoc/io/reactivex/Single.html
    fun getRandomDishes(): Single<RandomDish.Recipes>

}